package com.hiwhitley.easy.day16;

import java.util.Arrays;

/**
 * Created by hiwhitley on 2016/9/10.
 */
public class Merge {
    public void merge(int[] nums1, int m, int[] nums2, int n) {
        for(int i=0; i<n; i++) nums1[m+i] = nums2[i];
        Arrays.sort(nums1);
    }
}
